package com.tledu.operator;

/**
 * 赋值运算
 */
public class Operator04 {
    public static void main(String[] args) {
        int a = 7;
        int b = 9;
        // 希望b的值等于a和b的值相加
//        b = a + b;
//        b += a; // => b = a+b
        b -= a; // => b= b-a
        b *= a;
        b /= a;
        b %= a;// b = b % a
        System.out.println(b);
    }
}
